<%@ page contentType="text/html; charset=UTF-8"%>
<div class="row">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>搜索条件</h5>
            <div class="ibox-tools">
                <a class="collapse-link">
                    <i class="fa fa-chevron-up"></i>
                </a>
            </div>
        </div>
        <div class="ibox-content" >
            <div class="row">
                <div class="col-md-3"><input placeholder="开始日期" id="search_startdate" class="form-control layer-date" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})"></div>
                <div class="col-md-3"><input placeholder="结束日期" id="search_enddate" class="form-control layer-date" onclick="laydate({istime: true, format: 'YYYY-MM-DD hh:mm:ss'})"></div>
                <div class="col-md-3"><input placeholder="领券人手机号" id="search_phone" class="form-control" ></div>
            </div>
            <div class="row" style="margin-top:10px;">
                <div class="col-md-3"><select data-placeholder="选择代理商..." class="chosen-select"  id="search_agent" ></select></div>
                <div class="col-md-3"><select data-placeholder="选择商户..." class="chosen-select" id="search_brand" ></select></div>
                <shiro:hasAnyRoles name="admin,代理商,商户">
                    <div class="col-md-3"><select data-placeholder="选择门店..." class="chosen-select" id="search_shop" ></select></div>
                </shiro:hasAnyRoles>

                <div class="col-md-2"><button id="btn_search" class="btn btn-primary"><i class="fa fa-search"></i>&nbsp;搜索</button></div>
            </div>
        </div>
        <div class="ibox-content" >
            <div class="row">
                <div class="col-md-2"> <button style="margin-top: -10px; margin-bottom: -10px;" id="btn_export1" class="btn  btn-success"><i class="fa fa-sign-out"></i>&nbsp;导出Excel</button></div>
                <div class="col-md-2"><i id="fcfqze" class="glyphicon glyphicon-yen">发券总额：0.0 </i></div>
                <div class="col-md-2"><i id="fcfyze" class="glyphicon glyphicon-credit-card">费用总额：0.0 </i></div>
                <div class="col-md-2"><i id="fcddbs" class="glyphicon glyphicon-list-alt">总关注数：0 </i></div>
            </div>
        </div>
    </div>
</div>

<div class="wrapper  animated fadeInRight">

    <div class="row">
        <div class="col-sm-12">
            <span id="spancc" class="spancc"></span>
            <table id="exampleTablePagination" ></table>
        </div>
    </div>
</div>




